Skip to content

feat: add configurable yaw-offset for display entities - #39

Open
VitzS7 wants to merge 1 commit into
GeyserExtensionists:mainfrom
VitzS7:feat/yaw-offset-config
Open

feat: add configurable yaw-offset for display entities#39
VitzS7 wants to merge 1 commit into
GeyserExtensionists:mainfrom
VitzS7:feat/yaw-offset-config

Conversation

@VitzS7

@VitzS7 VitzS7 commented Aug 13, 2026

Copy link
Copy Markdown

Summary

Adds a configurable yaw-offset option (degrees) that is added to the yaw of display entities on Bedrock.

Why

Some setups need display entities to face the other way (or be rotated by an arbitrary amount) without editing each entity. A global yaw-offset: 180.0 flips them all to face the opposite direction.

Changes

  • config.yml: new general.yaw-offset option (default 180.0) with an explanatory comment.
  • ConfigManager: loads general.yaw-offset into a yawOffset field with getter getYawOffset().
  • ItemDisplayEntity#bedrockRotation(): adds getYawOffset() to the computed yaw before wrapping to degrees.

Test plan

  • Built successfully with ./gradlew build -x test
  • Verified the compiled JAR contains the new config key and getYawOffset() method
  • yaw-offset: 180.0 flips item display entities to face the opposite way on Bedrock

Rotação extra de yaw (em graus) somada às display entities no Bedrock.
180 = virar para o outro lado. Lida no ConfigManager e aplicada no
bedrockRotation() do ItemDisplayEntity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant